package cn.lh.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @描述:
 * @版权: Copyright (c): 2025
 * @作者: linhong
 * @创建日期: 2025/04/16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderVo {

    @ApiModelProperty(value = "id" )
    private Integer orderId;

    @ApiModelProperty(value = "产品id" )
    private Integer productId;

    @ApiModelProperty(value = "产品名称" )
    private String productName;

    @ApiModelProperty(value = "快递单号" )
    private String expressNumber;

    @ApiModelProperty(value = "收价" )
    private BigDecimal buyPrice;

    @ApiModelProperty(value = "数量" )
    private Integer number;

    @ApiModelProperty(value = "报单日期" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reportDate;

    @ApiModelProperty(value = "出价" )
    private BigDecimal sellPrice;

    @ApiModelProperty(value = "快递费" )
    private BigDecimal expressPrice;

    @ApiModelProperty(value = "是否结账   0: 未结账 1: 结账" )
    private Integer status;

    @ApiModelProperty(value = "备注" )
    private String remark;

    @ApiModelProperty(value = "地址" )
    private String address;

    @ApiModelProperty(value = "联系人" )
    private String contacts;


}
